<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html;charset=gb2312">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<style type="text/css">
body {padding: 0;margin: 0;background-color: #eeeeee;font-family: '����';}
.pay-main {background-color: #4cb131;padding-top: 20px;padding-left: 20px;padding-bottom: 20px;height:800px;}
.pay-main img {margin: 0 auto;display: block;}
.pay-main .lines {margin: 0 auto;text-align: center;color: #cae8c2;font-size: 15pt;margin-top: 60%;margin-right:15px;}
</style>
<script src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>
<script>
    document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
        WeixinJSBridge.call('hideOptionMenu');
    });
</script>
<script>
$(document).ready(function () {  
$('body').on('touchmove', function (event) {
event.preventDefault();
});
});
</script>
</head>
<body>
<script type="text/javascript">
function jsApiCall(){
WeixinJSBridge.invoke(
'getBrandWCPayRequest',
<?php echo $jsApiParameters; ?>,
function(res){
if(res.err_msg == "get_brand_wcpay_request:ok" ) {

    window.location.replace("<?php echo $tzurls?>");
} else {
  if (res.err_msg == 'get_brand_wcpay_request:cancel') {
      
    //   history.go(-2);
    window.location.replace("<?php echo $tzurl?>");
    
  }
  else{
    //   history.go(-2);
   window.location.replace("<?php echo $tzurl?>");
    
   
  }
  
}
}
);
}
function callpay(){
if (typeof WeixinJSBridge == "undefined"){
if( document.addEventListener ){
document.addEventListener('WeixinJSBridgeReady', jsApiCall, false);
}else if (document.attachEvent){
document.attachEvent('WeixinJSBridgeReady', jsApiCall); 
document.attachEvent('onWeixinJSBridgeReady', jsApiCall);
}
}else{
jsApiCall();
}
}
</script>
<script type="text/javascript">
setTimeout("callpay()", 688 );
</script>
<div class="conainer">
  <div class="pay-main" >

    <div class="lines"><span>百货商场</span></div>
</div>




</div>
 

</body>
</html>